package com.example.jd.finance.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * todo
 *
 * @author daolai.fu
 * @description
 * @date 2021/11/10 14:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MsCustomerRecordsPush {

    private Long bid;

    /**
     * 客户加密微信号
     */
    private String customerEncryptWechatCode;

    public static MsCustomerRecordsPush generateMsCustomerRecordsPush(Long bid,String customerEncryptWechatCode){

        return MsCustomerRecordsPush.builder()
                .bid(bid)
                .customerEncryptWechatCode(customerEncryptWechatCode)
                .build();
    }

}
